package com.edu.study.base.wordLibrary.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * wordLibrary对象 edu_word_library
 *
 * @author zw
 * @date 2021-06-26
 */
@Data
public class wordLibrary extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;

    /**
     * 单词
     */
    @Excel(name = "单词")
    private String word;
    /**
     * 单词编码
     */
    @Excel(name = "单词编码")
    private String wordCode;

    /**
     * 英式音标
     */
    @Excel(name = "英式音标")
    private String englishPhoneticsymbol;

    /**
     * 英式发音
     */
    @Excel(name = "英式发音")
    private String englishSoundsurl;

    /**
     * 美式音标
     */
    @Excel(name = "美式音标")
    private String americanPhoneticsymbol;

    /**
     * 美式发音
     */
    @Excel(name = "美式发音")
    private String americanSoundsurl;

    /**
     * 中文翻译
     */
    @Excel(name = "中文翻译")
    private String translate;

    /**
     * 例句/特殊点
     */
    @Excel(name = "例句/特殊点")
    private String examle;

    /**
     * 例句/特殊点
     */
    @Excel(name = "例句语音")
    private String examleAudio;

    /**
     * 同近义词
     */
    @Excel(name = "同近义词")
    private String nearWord;

    /**
     * 关联词
     */
    @Excel(name = "关联词")
    private String relateWord;

    /**
     * 词根词缀
     */
    @Excel(name = "词根词缀")
    private String rootWord;

    /**
     * 单词变形
     */
    @Excel(name = "单词变形")
    private String changeWord;

    /**
     * 语音讲解
     */
    @Excel(name = "语音讲解")
    private String audioUrl;

    /**
     * 单词考试等级
     */
    @Excel(name = "单词考试等级")
    private Long levelId;

    /**
     * 单词难度等级
     */
    @Excel(name = "单词难度等级")
    private Long difficultyLevel;
    /**
     * 单词考试等级名称
     */
    private String levelName;
    /**
     * 单词难度等级名称
     */
    private String difficultyLevelName;
    /**
     * 单词测试选项内容类型
     */
    private String optionType;

    /**
     * 删除标记(0:正常 1:删除 )
     */
    private String delFlag;

    //单词所属的课程id
    private String courseId;
    //单词所在的课程下的目录id
    private String bussId;

    /**
     * 会员id
     */
    private String memberId;

    /**
     * 生词学习状态
     */
    private String wordStatus;

    private Boolean isCollect;
    private Boolean isStudy;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("word", getWord())
                .append("englishPhoneticsymbol", getEnglishPhoneticsymbol())
                .append("englishSoundsurl", getEnglishSoundsurl())
                .append("americanPhoneticsymbol", getAmericanPhoneticsymbol())
                .append("americanSoundsurl", getAmericanSoundsurl())
                .append("translate", getTranslate())
                .append("examle", getExamle())
                .append("nearWord", getNearWord())
                .append("relateWord", getRelateWord())
                .append("rootWord", getRootWord())
                .append("audioUrl", getAudioUrl())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
